home *** CD-ROM | disk | FTP | other *** search
- Path: htc01.hightec.saarlink.de!mike
- From: mike@hightec.saarlink.de (Michael Schumacher)
- Newsgroups: comp.lang.c,comp.lang.c++,comp.lang.tcl
- Subject: Re: (no subject)
- Followup-To: comp.lang.c,comp.lang.c++,comp.lang.tcl
- Date: 18 Mar 1996 08:37:39 GMT
- Organization: HighTec EDV-Systeme GmbH
- Message-ID: <4ij7cj$3a6@hades.rz.uni-sb.de>
- References: <4ic6qm$d0g@athos.cc.bellcore.com>
- NNTP-Posting-Host: htc01.hightec.saarlink.de
- X-Newsreader: TIN [version 1.2 PL2]
-
- Sandeep V. Tamhankar (stamhank@notes.cc.bellcore.com) wrote:
- : Hi! I'm working on a project where I have to remotely log into a machine
- : and execute commands. This isn't a normal UNIX account....in fact, I
- : don't own the remote system, so I can't install any server program that
- : will let me use RPC. What I'm aiming for is opening a telnet connection
- : and have my program feed it the login, password, and then whatever
- : commands I need to execute. This way I won't have to modify anything on
- : the remote system, and everyone will be happy. Does anyone know how to
- : do this in C,C++,TCL, or X-Windows (via some macros)? I'm open for any
- : suggestions no matter how messy. Thanks!
-
- Take a look at Expect (a Tcl extension, and quite a good one, too... ;).
- ftp://ftp.cme.nist.gov/pub/expect
-
-
- mike
-